package com.sjd.mall.mapper;


import com.sjd.mall.domain.SjdOrderItemsDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单条目表(SjdOrderItems)表Mapper
 *
 * @author seer
 * @date 2022-01-11 22:28:05
 */
public interface SjdOrderItemsMapper {

    /**
     * 增加
     *
     * @param sjdOrderItems sjdOrderItems
     * @return count
     */
    int insert(SjdOrderItemsDO sjdOrderItems);

    /**
     * 根据id查询
     *
     * @param id 主键
     * @return SjdOrderItemsDO
     */
    SjdOrderItemsDO getById(Long id);

    /**
     * 查
     *
     * @param orderNo orderNo
     * @return object
     */
    List<SjdOrderItemsDO> listByOrderNo(@Param("orderNo") String orderNo);
}
